package org.iWMS.core.dao;

import org.iWMS.core.domain.LoginLog;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

/**
 * Created with IntelliJ IDEA.
 * User: issuser
 * Date: 13-5-2
 * Time: 下午3:31
 * To change this template use File | Settings | File Templates.
 */
@Repository
public class LoginLogDao {
    @Autowired
    private SqlSessionTemplate sqlSessionTemplate;

    public void insertLoginLog(LoginLog loginLog) {
        sqlSessionTemplate.insert("org.iWMS.core.dao.login.LoginDao.addLoginLog", loginLog);
    }
}
